<template>
    <div class="myHeader">
        <slot></slot>
    </div>
</template>

<style scoped>
.myHeader {
    width: 100%;
    height: 60px;
    background-color: purple;
    text-align: center;
    line-height: 60px;
    font-size: 20px;
}
</style>